package com.wqh.ice_storm.Service;


import com.wqh.ice_storm.ReportDemo.ReportService;
import com.wqh.ice_storm.ReportDemo.Weather;
import com.zeroc.Ice.Current;

public class ReportServiceImpl implements ReportService {
    static int count = 0;
    @Override
    public void report(Weather weather, Current current) {
        System.out.println(">>气象报告："+count);
        System.out.println("来源："+weather.tower);
        System.out.println("风速："+weather.windSpeed);
        System.out.println("风向："+weather.windDirection);
        System.out.println("温度："+weather.temperature);
        count++;

    }
}
